@extends('admin.layouts.index')
@section('content')
    <div class="result_wrap">
        <form action="{{url('/admin/anote/')}}" method="post">
            <table class="add_tab">
                <tbody>
                    {{csrf_field()}}
                    <tr>
                        <th width="120"><i class="require">*</i>父级分类：</th>
                        <td>
                            <select name="cid" width:400px height:160px>
                                <option value="0">==顶级分类==</option>
                                @foreach($data as $v)
                                <option value="{{$v->id}}">{{$v->aname}}</option>
                                @endforeach
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <th><i class="require">*</i>标题：</th>
                        <td>
                            <input type="text" name="tatle">
                            <span><i class="fa fa-exclamation-circle yellow"></i>标题</span>
                        </td>
                    </tr>	
                    <tr>
                        <th>内容：</th>
                        <td>
                                <!-- 加载编辑器的容器 -->
							    <script id="container" name="content" type="text/plain" style="width:400px;height:160px;">
							        请填写帖子内容
							    </script>
							    <!-- 实例化编辑器 -->
							    <script type="text/javascript">
							        var ue = UE.getEditor('container');
							    </script>
                        </td>
                    </tr>
                    <tr>
                        <th></th>
                        <td>
                            <input type="submit" value="提交">
                            <input type="button" class="back" onclick="history.go(-1)" value="返回">
                        </td>
                    </tr>

                </tbody>
            </table>
        </form>
    </div>

@endsection